﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace TranTekBE.Admin.UserControl
{
    public partial class MenuAdmin : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            User objUser = new User();
            objUser = HttpContext.Current.Session["UserInfo"] as User;
            if (objUser.Admin == false)
                Response.Redirect("DontPermission.aspx");

        }
    }
}